package com.ruoyi.picture.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user
 * 
 * @author ruoyi
 * @date 2024-01-12
 */
public class Pauser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 头像 */
    @Excel(name = "头像")
    private String picUrl;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 用户openid */
    @Excel(isExport = false)
    private String openId;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 密码 */
    @Excel(isExport = false)
    private String passWord;

    /** $column.columnComment */
    @Excel(isExport = false)
    private String sessionKey;

    /** 真实名字 */
    @Excel(name = "真实名字")
    private String realName;

    /** 3友链，0会员，1超级会员，2普通用户，30，31，32 */
    @Excel(name = "3-友链，0-会员，1-超级会员，2-普通用户，30，31，32")
    private Integer frentLink;

    /** $column.columnComment */
    @Excel(name = "标签", readConverterExp = "$column.readConverterExp()")
    private String userTab;

    /** $column.columnComment */
    @Excel(name = "生日", readConverterExp = "$column.readConverterExp()")
    private Date birth;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPassWord(String passWord) 
    {
        this.passWord = passWord;
    }

    public String getPassWord() 
    {
        return passWord;
    }
    public void setSessionKey(String sessionKey) 
    {
        this.sessionKey = sessionKey;
    }

    public String getSessionKey() 
    {
        return sessionKey;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setFrentLink(Integer frentLink) 
    {
        this.frentLink = frentLink;
    }

    public Integer getFrentLink() 
    {
        return frentLink;
    }
    public void setUserTab(String userTab) 
    {
        this.userTab = userTab;
    }

    public String getUserTab() 
    {
        return userTab;
    }
    public void setBirth(Date birth) 
    {
        this.birth = birth;
    }

    public Date getBirth() 
    {
        return birth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickName", getNickName())
            .append("picUrl", getPicUrl())
            .append("status", getStatus())
            .append("phone", getPhone())
            .append("openId", getOpenId())
            .append("email", getEmail())
            .append("passWord", getPassWord())
            .append("sessionKey", getSessionKey())
            .append("realName", getRealName())
            .append("frentLink", getFrentLink())
            .append("userTab", getUserTab())
            .append("birth", getBirth())
            .toString();
    }
}
